package com.qczl.pme.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 机顶盒栏目信息表
 * 系统配置信息
 * @author SongR
 *
 */
@Entity
@Table(name="pme_basis_channel")
public class PMEChannel implements Serializable{
	private static final long serialVersionUID = 3630806435141305604L;
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "channel_id")
	private Long id;//编号
	@Column(name = "channel_pid")
	private Long pid;//父编号
	@Column(name = "channel_name")
	private String name;//名称
	@Column(name = "channel_key")
	private String key;//key值
	@Column(name = "channel_link")
	private String link;//链接
	@Column(name = "channel_icon")
	private String icon;//图标
	@Column(name = "channel_visits")
	private Long visits;//点击次数
	@Column(name = "channel_desc")
	private String desc;//描述
	@Column(name = "channel_status")
	private Integer status;//状态
	@Column(name = "channel_sort")
	private Long sort;//排序
	@Column(name = "channel_type")
	private Integer type;//类型（0、机顶盒1、手机）

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getPid() {
		return pid;
	}

	public void setPid(Long pid) {
		this.pid = pid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String getLink() {
		return link;
	}

	public void setLink(String link) {
		this.link = link;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public Long getVisits() {
		return visits;
	}

	public void setVisits(Long visits) {
		this.visits = visits;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Long getSort() {
		return sort;
	}

	public void setSort(Long sort) {
		this.sort = sort;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

}
